/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.handwritingtime.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 手写签名暂停修改时间Entity
 * @author 张鑫
 * @version 2022-06-01
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class HandwritingAttachedTime extends DataEntity<HandwritingAttachedTime> {

	private static final long serialVersionUID = 1L;
//	@ExcelField(title="业务主表ID", align=2, sort=1)
//	private String handwritingTime;		// 业务主表ID
	private HandwritingTime handwritingTime; //关联id  父类
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title=" 开始时间", align=2, sort=2)
	private Date startTime;		//  开始时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="结束时间", align=2, sort=3)
	private Date endTime;		// 结束时间

	public HandwritingAttachedTime() {
		super();
	}


	public HandwritingAttachedTime(String id){
		super(id);
	}

	public HandwritingAttachedTime(HandwritingTime handwritingTime) {
		this.handwritingTime = handwritingTime;
	}
}